I am trying to deploy a ML model in digital ocean. When I run the python file following error message appears. File "__init__.py", line 1, in <module> from flask import Flask ImportError: No module named flask
But when I try running it using python3, it works So I am guessing that somehow the root environment is configured to work with python2 or pandas is not linked to root? How can i solve this
You must be logged in to post. Please login or register an account.